package com.ohs.bo.form;

public class WorkTime {
	private int id;
	
	private String name;

	private String start;
	
	private String end;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public String getStartHour() {
		return start.split(":")[0];
	}
	
	public String getStartMin() {
		return start.split(":")[1];
	}
	
	public String getEndHour() {
		return end.split(":")[0];
	}
	
	public String getEndMin() {
		return end.split(":")[1];
	}
}
